<?php
require_once ('ScriptFarma.php');

?>
<table width="100%" class="searchPanels" style="background-image: url(images/Fondos/fr5.png);" align="center">
    <tr>
        <td>
            <table align="center" width="100%">
                <tr>
                    <td width="100%" align="center">
                       <font color="white"  size="3px" > <b> FARMACOLOG&Iacute;A</b></font>
                    </td>
                    <td align="right">
                        <a href="#" onclick="cerrarFarmacologia();">
                            <img title="Cerrar" src="iconImage/cerrar.png" border="0" id="idCerrarTurnos"  width="20px" height="20px" />
                        </a>
                    </td>    
                    
                </tr>
                <tr>
                    <td width="100%" align="center">
                       <div  align="center" id="divFarmacologiagrids">
                           <table align="center"  style=" background-color: white; border-style: solid;border-color: white;border-radius:5px;" >
                               <tr>
                                    <td>                                   
                                        <?  require_once('Grid/gridfarmacia.php');?>                                                                      
                                    </td>
                               </tr>
                                <?if(isset($_GET['Pac']))
                                {
                                ?>
                                <tr>
                                    <td width="100%" align="center">
                                        <table width="100%" align="center">
                                            <tr>
                                                <td width="60%" align="right">
                                                   <div class="demo">
                                                        <input name="nameSelRowFarma"  align="center" type="button" id="idSelRowFarma" value="Seleccionar" class="demo" />
                                                    </div>
                                                </td>
                                                <td align="center" width="40%">
                                                    <font color="blue" size="1px">*Cargar medicamento en orden m&eacute;dica</font>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>                 
                               <?}else
                                {

                                }?>      

                           </table>
                       </div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>